Skip to content

Add support for swap-in#236

Merged
pm47 merged 1 commit into
masterfrom
swap-in
Jul 10, 2026
Merged

Add support for swap-in#236
pm47 merged 1 commit into
masterfrom
swap-in

Conversation

@pm47

@pm47 pm47 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Adding swap-in support is straightforward once Electrum is supported.

Losely based on #226, which is superseded.

New api methods:

  • getswapinaddress which returns current swap-in address and index
  • adds a swap-in section to the existing getbalance method.

Swap-ins are attempted at every new block when there are suitable utxos.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pm47 pm47 marked this pull request as ready for review July 10, 2026 13:47
@pm47 pm47 requested a review from t-bast July 10, 2026 13:47

@t-bast t-bast left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just nits/questions.

Comment thread src/commonMain/kotlin/fr/acinq/phoenixd/Api.kt
Comment thread src/commonMain/kotlin/fr/acinq/phoenixd/Phoenixd.kt
@pm47 pm47 merged commit c0d275c into master Jul 10, 2026
@pm47

pm47 commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

🎉

@pm47 pm47 deleted the swap-in branch July 10, 2026 14:13
@pm47 pm47 mentioned this pull request Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants